com.supermap.ar.areffect.gltfModel

Class Accessors

  • java.lang.Object
    • com.supermap.ar.areffect.gltfModel.Accessors


  • public class Accessors
    extends java.lang.Object
    accessor consistent with gltf model parameters One accessor corresponds with one bufferview It is used for defining the data type, data format, and layout of bufferview
    • Constructor Summary

      Constructors 
      Constructor and Description
      Accessors() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getBufferView()
      Gets tiles
      java.lang.Integer getByteOffset()
      Gets offsets
      java.lang.Integer getComponentType()
      Gets data types
      java.lang.Integer getCount()
      Gets the number of elements
      java.util.List<java.lang.Double> getMax()
      Gets the maximum value
      java.util.List<java.lang.Double> getMin()
      Gets the minimum value
      java.lang.String getName()
      Gets the name
      java.lang.String getType()
      Gets the property type
      void setBufferView(java.lang.Integer bufferView)
      Sets tiles
      void setByteOffset(java.lang.Integer byteOffset)
      Sets offsets
      void setComponentType(java.lang.Integer componentType)
      Sets data types Such as 512 is float
      void setCount(java.lang.Integer count)
      Sets the number of elements
      void setMax(java.util.List<java.lang.Double> max)
      Sets the maximum value
      void setMin(java.util.List<java.lang.Double> min)
      Sets the minimum value
      void setName(java.lang.String name)
      Sets a name
      void setType(java.lang.String type)
      Sets the property type type is used for indicating whether the data element is scale (SCALLAR), vector (VEC3), or matrix (MAT4)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Accessors

        public Accessors()
    • Method Detail

      • setBufferView

        public void setBufferView(java.lang.Integer bufferView)
        Sets tiles
        Parameters:
        bufferView -
      • getBufferView

        public java.lang.Integer getBufferView()
        Gets tiles
        Returns:
      • setByteOffset

        public void setByteOffset(java.lang.Integer byteOffset)
        Sets offsets
        Parameters:
        byteOffset -
      • getByteOffset

        public java.lang.Integer getByteOffset()
        Gets offsets
        Returns:
      • setComponentType

        public void setComponentType(java.lang.Integer componentType)
        Sets data types Such as 512 is float
        Parameters:
        componentType -
      • getComponentType

        public java.lang.Integer getComponentType()
        Gets data types
        Returns:
      • setCount

        public void setCount(java.lang.Integer count)
        Sets the number of elements
        Parameters:
        count -
      • getCount

        public java.lang.Integer getCount()
        Gets the number of elements
        Returns:
      • setMax

        public void setMax(java.util.List<java.lang.Double> max)
        Sets the maximum value
        Parameters:
        max -
      • getMax

        public java.util.List<java.lang.Double> getMax()
        Gets the maximum value
        Returns:
      • setMin

        public void setMin(java.util.List<java.lang.Double> min)
        Sets the minimum value
        Parameters:
        min -
      • getMin

        public java.util.List<java.lang.Double> getMin()
        Gets the minimum value
        Returns:
      • setType

        public void setType(java.lang.String type)
        Sets the property type type is used for indicating whether the data element is scale (SCALLAR), vector (VEC3), or matrix (MAT4)
        Parameters:
        type -
      • getType

        public java.lang.String getType()
        Gets the property type
        Returns:
      • setName

        public void setName(java.lang.String name)
        Sets a name
        Parameters:
        name -
      • getName

        public java.lang.String getName()
        Gets the name
        Returns: